package com.harmony.suppertiger.item;

import ohos.agp.render.PixelMapHolder;

import java.util.List;


/**
 * Created by Miaolonglong on 2021/12/24.
 */

public class Flower extends ItemSprite {

    private int delay2;

    public Flower(PixelMapHolder bitmap) {
        super(bitmap);
    }

    public Flower(int width, int height, List<PixelMapHolder> bitmaps) {
        super(width, height, bitmaps);
    }

    @Override
    public void logic() {
        super.logic();
        if(delay2++>10){
            nextFrame();
            delay2 =0;
        }
    }
}
